package cn.sunxinao.pm.binary;

import cn.sunxinao.pm.models.AbstractUser;
import cn.sunxinao.pm.services.AbstractUserManager;
import java.io.File;

public class UserManager extends AbstractUserManager {
    public UserManager(File savePath) {
        super(new ReadWriteTool(), savePath);
    }

    @Override
    public AbstractUser createUser(String uName, String uPass) {
        User user = new User();
        user.setUsername(uName);
        user.setPassword(uPass);
        return user;
    }
}
